package com.codejoys.employees.dao;

import com.codejoys.employees.dto.DeptSalary;
import com.codejoys.employees.entity.Departments;
import com.codejoys.employees.entity.DepartmentsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentsDao {
    /**
     * - 查询所有部门的名字和对应的部门经理的名字
     */
    List<Departments> getDepartmentsWithManager();

    List<DeptSalary> getDepartmentsAverageSalary();
}